<script type="text/javascript">
$(document).ready(function() {
    $("div#pMenu a").click(function(e) {
        e.preventDefault();
        href = e.target.href;
        id = href.substr(href.indexOf("#"));
	/*
	$("div#form-wrap div").fadeOut('slow', function() {
            $("div#form-wrap " + id).fadeIn('slow', function() {
		$("div" + id + " div").fadeIn('slow');
	    });
	});
	*/
	$("div#form-wrap div").hide();
        $("div#form-wrap " + id).show();
	$("div" + id + " div").show();
    });
});

/*
$(document).ready(function () {
    $("#pMenu").jstree({
	"themes"  : {
		"theme" : "default",
		"dots"  : false,
		"icons" : false
	},
        "plugins" : [ "html_data" ]
    });
});
*/
</script>
<div id="pMenu">
<?php print $this->navigation()->menu()->render(); ?>
</div>
